
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        double y = scanner.nextDouble();

        System.out.println((double)x+y);
        System.out.println(Math.sqrt((double)x+y));

        //截取
        String str = String.valueOf(Math.sqrt((double)x+y));
        str = str.substring(0,6);
        System.out.println(str);
    }
}